package com.po;

public class User {
    private long id;

    private String password;

    private String username;

    private double height;

    private double weight;

    private String truename;

    private boolean sex;

    private String phone;

    private String vipnum;

    private String email;
    private int age;
    private String photo;

    public String getPhoto() {
        return photo;
    }

    public User setPhoto(String photo) {
        this.photo = photo;
        return this;
    }

    public int getAge() {
        return age;
    }

    public User setAge(int age) {
        this.age = age;
        return this;
    }

    public String getEmail() {
        return email;
    }

    public User setEmail(String email) {
        this.email = email;
        return this;
    }

    public double getHeight() {
        return height;
    }

    public User setHeight(double height) {
        this.height = height;
        return this;
    }

    public long getId() {
        return id;
    }

    public User setId(long id) {
        this.id = id;
        return this;
    }

    public String getPassword() {
        return password;
    }

    public User setPassword(String password) {
        this.password = password;
        return this;
    }

    public String getPhone() {
        return phone;
    }

    public User setPhone(String phone) {
        this.phone = phone;
        return this;
    }

    public boolean isSex() {
        return sex;
    }

    public User setSex(boolean sex) {
        this.sex = sex;
        return this;
    }

    public String getTruename() {
        return truename;
    }

    public User setTruename(String truename) {
        this.truename = truename;
        return this;
    }

    public String getUsername() {
        return username;
    }

    public User setUsername(String username) {
        this.username = username;
        return this;
    }

    public String getVipnum() {
        return vipnum;
    }

    public User setVipnum(String vipnum) {
        this.vipnum = vipnum;
        return this;
    }

    public double getWeight() {
        return weight;
    }

    public User setWeight(double weight) {
        this.weight = weight;
        return this;
    }

    @Override
    public String toString() {
        return "User{" +
                "age=" + age +
                ", id=" + id +
                ", password='" + password + '\'' +
                ", username='" + username + '\'' +
                ", height=" + height +
                ", weight=" + weight +
                ", truename='" + truename + '\'' +
                ", sex=" + sex +
                ", phone='" + phone + '\'' +
                ", vipnum='" + vipnum + '\'' +
                ", email='" + email + '\'' +
                '}';
    }
}